package com.hfb.mashibing.alip8.jvm.c2_classloader;

/** java 编译执行？解释执行？混合执行？试试看！
 *
 */
public class T009_WayToRun {


    public static void main(String[] args) {
        for (int i = 0; i < 10_0000; i++) {
            m();
        }
        final long s = System.currentTimeMillis();
        for (int i = 0; i < 10_0000; i++) {
            m();
        }
        final long e = System.currentTimeMillis();
        System.out.println((e-s)/1000 + "s");
    }
    public static void m() {
        for (long i = 0; i < 10_0000; i++) {
            long j = i % 3;
        }
    }
}
